package com.xb.system.service;


import com.google.common.hash.BloomFilter;
import com.xb.model.domain.UsersInfo;

import java.io.IOException;
import java.util.List;

public interface DynamicDataSplitterService {


    void splitData(String file) throws IOException;

    UsersInfo processLine(String[] parts,
                          BloomFilter<String> businessEmailBloomFilter);

    void saveBatch(List<UsersInfo> batch);
}
